package com.pms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pms.dao.ProjectSalerMapper;
import com.pms.domain.ProjectSaler;
import com.pms.service.ProjectSalerService;

/** 
* @ClassName: ProjectSalerServiceImpl 
* @Description:  
* @author ZZW
* @date 2016年12月2日 下午5:55:59 
*  
*/
@Service
public class ProjectSalerServiceImpl implements ProjectSalerService {
	
	@Autowired
	ProjectSalerMapper projectSalerMapper;

	@Override
	public void insertProjectSaler(ProjectSaler projectSaler) {
		projectSalerMapper.insertProjectSaler(projectSaler);
	}

	@Override
	public ProjectSaler selectByPrimaryKey(Integer id) {
		return projectSalerMapper.selectByPrimaryKey(id);
	}

	@Override
	public void updateByPrimaryKey(ProjectSaler projectSaler) {
		projectSalerMapper.updateByPrimaryKey(projectSaler);
	}

	@Override
	public List<ProjectSaler> getAll() {
		return projectSalerMapper.getAll();
	}

	@Override
	public void deleteProjectSaler(Integer id) {
		projectSalerMapper.deleteProjectSaler(id);
	}

	
}
